package com.iie.bigVideo.service;

import com.iie.bigVideo.entity.SysUser;
import com.iie.bigVideo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iie.bigVideo.entity.dto.UserDto;
import com.iie.bigVideo.vo.ResultVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author XXX
 * @since 2023-11-20
 */
public interface UserService extends IService<User> {

    ResultVO queryUserList(int current, int size,User user);

    ResultVO addUser(User user);

    ResultVO updateUser(User user);

    ResultVO updateStateByUserID(int id,int isDelete);

    ResultVO deleteUser(int id);

    ResultVO<UserDto> login(String username, String password);

}
